﻿<Window x:Class="Twi.COMMON.WPF.InputRemark"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        mc:Ignorable="d"
        Title="请输入"  WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Height="238" Width="642" 
        Loaded="Window_Loaded" 
        Icon="/Twi.COMMON.WPF;component/Images/客户端Logo.ico">
    <Window.Resources>
        <Style x:Key="{x:Type TextBox}" TargetType="{x:Type TextBoxBase}"/>
    </Window.Resources>
    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FFDCECFA" Offset="1"/>
            <GradientStop Color="White" Offset="0"/>
            <GradientStop Color="#FFE7F2FB" Offset="0.371"/>
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <TextBox Margin="20,40,20,50" Name="TxtReamark" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" TextWrapping="Wrap" TabIndex="5" />
        <Grid Height="16" Margin="23,18,109,0" VerticalAlignment="Top">
            <TextBlock Name="tebTitle" FontSize="13.333" FontWeight="Bold" Foreground="#FF002CA5" Height="16" HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="268" Text="备注"/>
            <Rectangle Height="0.667" Margin="71.333,7.127,0,0" Opacity="0" RadiusX="2" RadiusY="2" VerticalAlignment="Top">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.996,0.031">
                        <GradientStop Color="#FFADD9F7" Offset="0.161" />
                        <GradientStop Color="#FF446AD0" Offset="0.544" />
                        <GradientStop Color="#00ADD9F7" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Ellipse Fill="#FF5571D8" HorizontalAlignment="Left" Margin="0,4.463,0,5.537" Width="6" />
        </Grid>
        <Button Name="btnOK" Height="26" Margin="450,167,0,0" VerticalAlignment="Top" IsTabStop="False" TabIndex="6" Click="btnOK_Click" HorizontalAlignment="Left" Width="78">
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFE8E8E8" Offset="0.478" />
                    <GradientStop Color="#FFC8C8C8" Offset="0.543" />
                    <GradientStop Color="#FFEEEFF2" Offset="0.983" />
                    <GradientStop Color="White" Offset="0.23" />
                </LinearGradientBrush>
            </Button.Background>
            <Grid Height="17" Width="49">
                <TextBlock Height="15" Margin="21,1,-1,0" Text="确定" TextWrapping="Wrap" VerticalAlignment="Top" d:LayoutOverrides="Height" FontSize="12.667" />
                <Image HorizontalAlignment="Left" Margin="0,0,0,1" Width="17" Source="..\Images\spellcheck.png" Stretch="Fill" Height="17"/>
            </Grid>
        </Button>
        <Button  Name="btnCancel" Height="26" Margin="532,167,0,0"  VerticalAlignment="Top" HorizontalAlignment="Left" Width="78"   IsTabStop="False" TabIndex="3" Click="btnCancel_Click">
            <Grid Height="17" Width="60">
                <Grid.RowDefinitions>
                    <RowDefinition Height="6*" />
                    <RowDefinition Height="11*" />
                </Grid.RowDefinitions>
                <TextBlock Margin="0,1,-1,1" TextWrapping="Wrap" HorizontalAlignment="Right" Width="32" Text="取消" FontSize="12.667" Grid.RowSpan="2" />
                <Image HorizontalAlignment="Left" Margin="6.12,0,0,-1" Width="18.043" Source="..\Images\cancel.png" Stretch="Fill" Grid.RowSpan="2" />
            </Grid>
        </Button>
    </Grid>
</Window>
